--
-- Author: shunguo.chen
-- Date: 2018-02-26 13:43:32
--
-- PlayerLvUpActView	升级动画

local fileName = string.getModeName(...)
local ClassRef = class(fileName, app.mvc.ViewBase)

ClassRef.VIEW_ROOT_RES = Res.PlayerLvUpActScene

local TITLE_STR = L("lua_code_text_291")

function ClassRef:init()

end

function ClassRef:show()
	self.super.show(self)
	self._timeline:setLastFrameCallFunc(function()
		self:removeFromParent()
	end)
	AM.playSoundById(9083)
end

function ClassRef:refresh(level)
	self._ui.Text_lv:setString(string.format(TITLE_STR, level))
end

return ClassRef